package com.nj9you.sdk.params;

import java.io.Serializable;

public class User implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private String username;// 用户名
    private String password; // 密码
    private String gendar;// 性别
    private String userKey;// ticket
    private String id;//id
    private String nickName;
    private String birthday;
    private String age;

    private String isVipUser;
    private String vipLevel;

    public User() {
    }

    public User(String username, String gendar) {
        this.username = username;
        this.gendar = gendar;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getIsVipUser() {
        return isVipUser;
    }

    public void setIsVipUser(String isVipUser) {
        this.isVipUser = isVipUser;
    }

    public String getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(String vipLevel) {
        this.vipLevel = vipLevel;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGendar() {
        return gendar;
    }

    public void setGendar(String gendar) {
        this.gendar = gendar;
    }

    public String getUserKey() {
        return userKey;
    }

    public void setUserKey(String userKey) {
        this.userKey = userKey;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("{");

        builder.append("\"id\"").append(":").append("\"").append(this.id).append("\"");
        builder.append(",");

        builder.append("\"username\"").append(":").append("\"").append(this.username).append("\"");
        builder.append(",");

        builder.append("\"userKey\"").append(":").append("\"").append(this.userKey).append("\"");

        builder.append("}");
        return builder.toString();
    }
}
